<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class Services_WorkXpress_Request_ExecuteBusinessRules</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class Services_WorkXpress_Request_ExecuteBusinessRules</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Request class for the ExecuteBusinessRules API function</p>
<p class="description"><p>PHP version 5</p></p>
	<ul class="tags">
				<li><span class="field">link:</span> PACKAGE_URL</li>
				<li><span class="field">example:</span> <a href="../__examplesource/exsource_ces_WorkXpress_examples_execute_business_rules.php_731b4ba37fbec921d3333efffad6d5f1.html">Execute Business Rules Example</a></li>
				<li><span class="field">license:</span> <a href="http://www.opensource.org/licenses/bsd-license.php">BSD License</a></li>
				<li><span class="field">copyright:</span> 2005-2006 Express Dynamics</li>
				<li><span class="field">author:</span> Doug Warner &lt;<a href="mailto:dwarner@expressdynamics.com">dwarner@expressdynamics.com</a>&gt;</li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_WorkXpress---Request---ExecuteBusinessRules.php.html">/WorkXpress/Request/ExecuteBusinessRules.php</a> (line <span class="field">57</span>)
		</p>
		
				
		<pre><a href="../Services_WorkXpress/Services_WorkXpress_Request.html">Services_WorkXpress_Request</a>
   |
   --Services_WorkXpress_Request_ExecuteBusinessRules</pre>
	
			</div>
</div>



	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<div class="var-summary">
																								<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$items" title="details" class="var-name">$items</a>
				</div>
											</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																		<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																				
												<div class="method-definition">
											<span class="method-result">Services_WorkXpress_Request_ExecuteBusinessRules</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
											(<span class="var-type">array</span>&nbsp;<span class="var-name">$props</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#addItem" title="details" class="method-name">addItem</a>
											(<span class="var-type">array</span>&nbsp;<span class="var-name">$item</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#addItemSearch" title="details" class="method-name">addItemSearch</a>
											(<span class="var-type">array</span>&nbsp;<span class="var-name">$search</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#attachRules" title="details" class="method-name">attachRules</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">&$element</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$rules</span>, <span class="var-type">object</span>&nbsp;<span class="var-name">$element</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$rules</span>)
									</div>
								</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="var$items" id="$items"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$items</span>
						(line <span class="line-number">62</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">items element in the DOM document</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
							<h4>Inherited Variables</h4>
				<A NAME='inherited_vars'><!-- --></A>
									<p>Inherited from <span class="classname"><a href="../Services_WorkXpress/Services_WorkXpress_Request.html">Services_WorkXpress_Request</a></span></p>
					<blockquote>
													<span class="var-title">
								<span class="var-name"><a href="../Services_WorkXpress/Services_WorkXpress_Request.html#var$dom">Services_WorkXpress_Request::$dom</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../Services_WorkXpress/Services_WorkXpress_Request.html#var$props">Services_WorkXpress_Request::$props</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../Services_WorkXpress/Services_WorkXpress_Request.html#var$request">Services_WorkXpress_Request::$request</a></span><br>
							</span>
											</blockquote> 
										
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
																	<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="method__construct" id="__construct"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">69</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Constructor</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">Services_WorkXpress_Request_ExecuteBusinessRules</span>
		<span class="method-name">
			__construct
		</span>
					(<span class="var-type">array</span>&nbsp;<span class="var-name">$props</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$props</span><span class="var-description">: WorkXpress API properties</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../Services_WorkXpress/Services_WorkXpress_Request.html#method__construct">Services_WorkXpress_Request::__construct()</a></dt>
						<dd>Constructor</dd>
					</dl>
			
	</div>
<a name="methodaddItem" id="addItem"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">addItem</span> (line <span class="line-number">86</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Adds an item to the request</p>
<p class="description"><p>The item may contain rules to execute</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			addItem
		</span>
					(<span class="var-type">array</span>&nbsp;<span class="var-name">$item</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$item</span><span class="var-description">: associative array of item data</span>			</li>
				</ul>
		
			
	</div>
<a name="methodaddItemSearch" id="addItemSearch"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">addItemSearch</span> (line <span class="line-number">115</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Adds an item search to the request</p>
<p class="description"><p>The search may contain rules to execute</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
				<li><span class="field">example:</span> <a href="../__examplesource/exsource_rvices_WorkXpress_examples_feature-item_search.php_66f770875660ec8f338ea43d90d960a1.html">How to use the item search</a></li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			addItemSearch
		</span>
					(<span class="var-type">array</span>&nbsp;<span class="var-name">$search</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$search</span><span class="var-description">: associative array of item search data</span>			</li>
				</ul>
		
			
	</div>
<a name="methodattachRules" id="attachRules"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">attachRules</span> (line <span class="line-number">139</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Builds and attaches rules to an item-level element (item or search)</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			attachRules
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">&$element</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$rules</span>, <span class="var-type">object</span>&nbsp;<span class="var-name">$element</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$rules</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">object</span>
				<span class="var-name">$element</span><span class="var-description">: DOMElement for the item or search</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$rules</span><span class="var-description">: associative array of rules to attach</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$element</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$rules</span>			</li>
				</ul>
		
			
	</div>
							<h4>Inherited Methods</h4>
				<a name='inherited_methods'><!-- --></a>	
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../Services_WorkXpress/Services_WorkXpress_Request.html">Services_WorkXpress_Request</a></span></p>
					<blockquote>
													<span class="method-name"><a href="../Services_WorkXpress/Services_WorkXpress_Request.html#method__construct">Services_WorkXpress_Request::__construct()</a></span><br>
													<span class="method-name"><a href="../Services_WorkXpress/Services_WorkXpress_Request.html#methodcall">Services_WorkXpress_Request::call()</a></span><br>
													<span class="method-name"><a href="../Services_WorkXpress/Services_WorkXpress_Request.html#methodsetXML">Services_WorkXpress_Request::setXML()</a></span><br>
													<span class="method-name"><a href="../Services_WorkXpress/Services_WorkXpress_Request.html#method__toString">Services_WorkXpress_Request::__toString()</a></span><br>
											</blockquote>
										
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Wed, 22 Nov 2006 11:53:58 -0500 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.1</a>
	</p>
	</div></body>
</html>